package com.mf.all.entity.req;
import java.io.Serial;

import com.mf.all.groups.GroupsUpdateInterface;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDate;

/**
 *  采购单提交
 * @date 2025-04-02 22:36:45
 */
@Data
public class ReqPurchaseNote implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
            @NotNull(message = "id不能为空",groups = {GroupsUpdateInterface.class})
                private Integer id;
                    @Schema(description="采购单编号")
            private String code;
                    @Schema(description="采购日期")
            private LocalDate pDate;
                    @Schema(description="采购单标识")
            private String pName;
                    @Schema(description="0-保存；1-提交；10-采购中；20-全部采购完成；30-部分采购完成")
            private Integer status;
                    @Schema(description="需求日期")
            private LocalDate demandedDate;
                    @Schema(description="采购完成日期")
            private LocalDate finishDate;
                    @Schema(description="采购人员id")
            private Integer pUserId;
                    @Schema(description="采购人员")
            private String pUser;
                                        }
